import request from '@/utils/request';

export async function reqTyOrganizeList(data: any, options?: any): Promise<any> {
	return request('/api/sys/organize/list', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqAddTyOrganize(data: any, options?: any): Promise<any> {
	return request('/api/sys/organize/create', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqUpdateTyOrganize(data: any, options?: any): Promise<any> {
	return request('/api/sys/organize/update', {
		method: 'POST',
		data,
		...(options || {}),
	});
}

export async function reqDeleteTyOrganize(data: any, options?: any): Promise<any> {
	return request('/api/sys/organize/delete', {
		method: 'POST',
		data,
		...(options || {}),
	});
}


